package com.admin.business.background.venusOaPrizepunApprovalset;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tiangong.framework.bo.CDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description: 员工奖惩审批设置表
 * @create: 2023-11-04 13:55:01
 **/
@DS("user")
@Mapper
public interface VenusOaPrizepunApprovalsetDao{
    /**添加员工奖惩审批设置表数据*/
    void addVenusOaPrizepunApprovalset(CDO cdo);

    /**添加员工奖惩审批设置表数据*/
    void addOrUpdateVenusOaPrizepunApprovalset(CDO cdo);

    /**根据Id更新员工奖惩审批设置表数据*/
    int updateVenusOaPrizepunApprovalsetById(CDO cdo);

    /**根据Id删除员工奖惩审批设置表数据*/
    int deleteVenusOaPrizepunApprovalsetById(Long id);

    /**根据条件删除员工奖惩审批设置表数据*/
    int deleteVenusOaPrizepunApprovalset(CDO cdo);

    /**根据id获取员工奖惩审批设置表数据*/
    CDO getVenusOaPrizepunApprovalsetById(Long id);

    /**根据非空条件获取员工奖惩审批设置表数据列表*/
    List<CDO> getVenusOaPrizepunApprovalsetListPage(CDO cdo);

    /**根据混合条件获取员工奖惩审批设置表数据列表*/
    List<CDO> getVenusOaPrizepunApprovalsetListPageByCondition(CDO cdo);

    /**获取员工奖惩审批设置表数据条数*/
    int getVenusOaPrizepunApprovalsetCount(CDO cdo);

}
